#!/bin/sh

PKG_VOL_TMP="/`echo $SYNOPKG_PKGDEST | cut -d'/' -f2`/@tmp"

mv ${PKG_VOL_TMP}/postfix /var/packages/MailStation/target/postfix
ln -sf /var/packages/MailStation/target/postfix /var/spool/postfix

rm -f /tmp/MailStation.upgrade

exit 0
